package com.msj.goods.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 员工表
 * </p>
 *
 * @author 时代电子
 * @since 2018-11-05
 */
public class Emp extends Model<Emp> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "emp_id", type = IdType.AUTO)
    private Integer empId;

    /**
     * 员工姓名
     */
    private String empName;

    private String empImg;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 职位id
     */
    private Integer postId;

    /**
     * 部门id
     */
    private Integer deptId;

    /**
     * 总积分
     */
    private Integer countIntegral;

    /**
     * 基础积分
     */
    private Integer jichuIntegral;

    /**
     * 可用表扬积分
     */
    private Integer keYongBiaoYangIntegral;

    /**
     * 爱心积分
     */
    private Integer loveIntegral;

    /**
     * 状态(0在职 1离职)
     */
    private Integer status;

    /**
     * 是否参与排名(0 参与 1 不参与)
     */
    private Integer paiMing;

    /**
     * 入职时间
     */
    private Date ruCreateTime;

    /**
     * 最后登录时间
     */
    private Date loginDate;

    /**
     * 添加积分
     */
    private Integer addIntegral;

    /**
     * 扣除积分
     */
    private Integer removeIntegral;

    /**
     * 积分类型
     */
    private Integer integralType;

    /**
     * 审批时间/获得积分时间
     */
    private Date approvalTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 修改时间
     */
    private Date updateTime;

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }
    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }
    public String getEmpImg() {
        return empImg;
    }

    public void setEmpImg(String empImg) {
        this.empImg = empImg;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }
    public Integer getPostId() {
        return postId;
    }

    public void setPostId(Integer postId) {
        this.postId = postId;
    }
    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }
    public Integer getCountIntegral() {
        return countIntegral;
    }

    public void setCountIntegral(Integer countIntegral) {
        this.countIntegral = countIntegral;
    }
    public Integer getJichuIntegral() {
        return jichuIntegral;
    }

    public void setJichuIntegral(Integer jichuIntegral) {
        this.jichuIntegral = jichuIntegral;
    }
    public Integer getKeYongBiaoYangIntegral() {
        return keYongBiaoYangIntegral;
    }

    public void setKeYongBiaoYangIntegral(Integer keYongBiaoYangIntegral) {
        this.keYongBiaoYangIntegral = keYongBiaoYangIntegral;
    }
    public Integer getLoveIntegral() {
        return loveIntegral;
    }

    public void setLoveIntegral(Integer loveIntegral) {
        this.loveIntegral = loveIntegral;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getPaiMing() {
        return paiMing;
    }

    public void setPaiMing(Integer paiMing) {
        this.paiMing = paiMing;
    }
    public Date getRuCreateTime() {
        return ruCreateTime;
    }

    public void setRuCreateTime(Date ruCreateTime) {
        this.ruCreateTime = ruCreateTime;
    }
    public Date getLoginDate() {
        return loginDate;
    }

    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }
    public Integer getAddIntegral() {
        return addIntegral;
    }

    public void setAddIntegral(Integer addIntegral) {
        this.addIntegral = addIntegral;
    }
    public Integer getRemoveIntegral() {
        return removeIntegral;
    }

    public void setRemoveIntegral(Integer removeIntegral) {
        this.removeIntegral = removeIntegral;
    }
    public Integer getIntegralType() {
        return integralType;
    }

    public void setIntegralType(Integer integralType) {
        this.integralType = integralType;
    }
    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.empId;
    }

    @Override
    public String toString() {
        return "Emp{" +
        "empId=" + empId +
        ", empName=" + empName +
        ", empImg=" + empImg +
        ", phone=" + phone +
        ", roleId=" + roleId +
        ", postId=" + postId +
        ", deptId=" + deptId +
        ", countIntegral=" + countIntegral +
        ", jichuIntegral=" + jichuIntegral +
        ", keYongBiaoYangIntegral=" + keYongBiaoYangIntegral +
        ", loveIntegral=" + loveIntegral +
        ", status=" + status +
        ", paiMing=" + paiMing +
        ", ruCreateTime=" + ruCreateTime +
        ", loginDate=" + loginDate +
        ", addIntegral=" + addIntegral +
        ", removeIntegral=" + removeIntegral +
        ", integralType=" + integralType +
        ", approvalTime=" + approvalTime +
        ", remark=" + remark +
        ", updateTime=" + updateTime +
        "}";
    }
}
